// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:53:48

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   gd.java

package com.zelix;

import java.io.PrintWriter;
import java.util.*;

// Referenced classes of package com.zelix:
//            yc, it, il, gj, 
//            nh, lt, mt, kt, 
//            lu, iu, mx, px, 
//            qy, tb

public final class gd extends yc
{

    private qy k;
    private static String z[];

    public gd(it it1, Vector vector, nh nh1)
    {
        super(it1, vector, nh1);
        k = new qy();
        if(it1.k())
        {
            a(it1.j(), it1.A());
            k();
        }
    }

    private final void k()
    {
        int i;
        Hashtable hashtable;
        Vector vector;
        int j;
        boolean flag;
        flag = tb.b;
        i = super.a.size();
        hashtable = new Hashtable();
        vector = new Vector();
        j = 0;
        if(!flag) goto _L2; else goto _L1
_L1:
        Enumeration enumeration;
        gj gj1 = (gj)super.a.elementAt(j);
        enumeration = gj1.i();
        if(!flag) goto _L4; else goto _L3
_L3:
        Object obj = enumeration.nextElement();
        if(!hashtable.containsKey(obj))
        {
            hashtable.put(obj, obj);
            vector.addElement(obj);
        }
_L4:
        if(enumeration.hasMoreElements()) goto _L3; else goto _L5
_L5:
        j++;
_L2:
        if(j < i) goto _L1; else goto _L6
_L6:
        if(!super.b.z() || vector.size() <= 0) goto _L8; else goto _L7
_L7:
        int l;
        super.c.println(z[6]);
        l = vector.size() - 1;
        if(!flag) goto _L10; else goto _L9
_L9:
        super.c.println(z[7] + vector.elementAt(l) + "\"");
        l--;
_L10:
        if(l >= 0) goto _L9; else goto _L8
_L8:
        l = vector.size() - 1;
        if(!flag) goto _L12; else goto _L11
_L11:
        il il1 = (il)vector.elementAt(l);
        if(!il1.w() && !il1.x())
        {
            super.b.e(z[4] + il1 + z[9], true);
            if(!flag)
                continue;
        }
        if(il1.w() && il1.v())
        {
            super.b.e(z[4] + il1 + z[8], true);
            if(!flag)
                continue;
        }
        if(il1.w() && il1.u())
            super.b.e(z[4] + il1 + z[3] + "+" + z[5], true);
        il1.a(this);
        l--;
_L12:
        if(l < 0)
            return;
        if(true) goto _L11; else goto _L13
_L13:
    }

    public boolean b(mt mt1)
    {
        return k.b(mt1);
    }

    public final void a(mt mt1, String s)
    {
        Object obj = super.e.remove(mt1);
        if(obj != null)
        {
            Object obj1 = super.f.put(mt1, mt1);
            if(super.b.z() && super.c != null)
                super.c.println(z[10] + mt1.x() + mt1.l() + z[11] + s + "\"");
        }
    }

    public final void a(lu lu1, String s)
    {
        if(!lu1.S())
            return;
        lu lu2 = (lu)super.i.remove(lu1);
        if(lu2 != null)
        {
            Object obj = super.j.put(lu1, lu1);
            k.b(lu1.h(), lu1);
            if(super.b.z() && super.c != null)
                super.c.println(z[0] + lu1.t() + lu1.u() + z[1] + lu1.l() + z[2] + s + "\"");
        }
    }

    public Enumeration c(mt mt1)
    {
        Vector vector = k.d(mt1);
        if(vector != null)
            return vector.elements();
        else
            return mx.a();
    }

    final void a(Enumeration enumeration, int i)
    {
        boolean flag;
        flag = tb.b;
        super.e = new Hashtable(px.a(i));
        super.f = new Hashtable(px.a(i));
        super.i = new Hashtable(px.a(i * 5));
        super.j = new Hashtable(px.a(i * 5));
        if(!flag) goto _L2; else goto _L1
_L1:
        cv cv;
        mt mt1 = (mt)enumeration.nextElement();
        super.e.put(mt1, mt1);
        cv = mt1.U();
        if(!flag) goto _L4; else goto _L3
_L3:
        Object obj = cv.nextElement();
        super.i.put(obj, obj);
_L4:
        if(cv.hasMoreElements()) goto _L3; else goto _L2
_L2:
        if(!enumeration.hasMoreElements())
            return;
        if(true) goto _L1; else goto _L5
_L5:
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key =0x47;
                    break;
                case 1:
                    key =23;
                    break;
                case 2:
                    key =119;
                    break;
                case 3:
                    key =31;
                    break;
                case 4:
                    key =122;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[];
        as = new String[12];
        as[0] = "NR\017|\0262s\036q\035g~\031v\016.v\033v\000&c\036p\024gD\003m\023)pWp\034gq\036z\026#7U";
        as[1] = "e7\036qZ${\026l\tg5";
        as[2] = "e7\021m\025*7\022q\0315n\007k\023(yW}\037$v\002l\037gx\021?X";
        as[3] = "`7\036qZ`d\003m\023)p2q\0315n\007k\023(y2g\031+b\023z]gt\026q\024(cWj\t\"7\003w\037g0";
        as[4] = "\027v\005~\027\"c\022mZ`";
        as[5] = "`7\003~\035i7#w\037gc\026xZ0~\033sZ%rWv\035)x\005z\036i";
        as[6] = "ND\003m\023)pWZ\024$e\016o\016.x\031???t\033j\t.x\031?\n&e\026r\0373r\005l@";
        as[7] = "N\036U";
        as[8] = "`7\036qZ`d\003m\023)p2q\0315n\007k\023(y2g\031+b\023z]gd\003~\016\"z\022q\016gt\026q\024(cWj\t\"7\003w\037g0Ks\023)|I8Z4n\031k\033?9WV\016g`\036s\026gu\022?\023 y\030m\037#9";
        as[9] = "`7\036qZ`d\003m\023)p2q\0315n\007k\023(y2g\031+b\023z]gd\003~\016\"z\022q\016g~\004?\024(cW~Z${\026l\tgx\005?\034.r\033{Z\"o\024s\0174~\030qZ7v\005~\027\"c\022mTg^\003?\r.{\033?\030\"7\036x\024(e\022{T";
        as[10] = "NR\017|\0262s\036q\035gt\033~\t47U";
        as[11] = "e7\021m\025*7$k\b.y\020?\037)t\005f\n3~\030qZ%r\024~\0174rWp\034g5";
        for(int i = 0; i<as.length; i++){
            as[i] = z(as[i].toCharArray());
        }
        z = as;
    }
}